#include "stdafx.h"
#include "transp.h"

int** transp(int** A, int size)
{
	int** B;
	B = NULL;
	B = new int*[size];
	for (int i = 0; i < size; i++)
	{
		B[i] = new int[size];
		for (int j = 0; j < size; j++)
		{
			B[i][j] = A[j][i];
		}
		
	}
	return B;
}